

#include "stdafx.h"
#include <opencv2\opencv.hpp>
#include <iostream>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	cv::Mat mat=cv::imread("E:\\Files\\2.jpg");

	cout<<"Rows:"<<mat.rows<<endl;
	cout<<"Cols:"<<mat.cols<<endl;
	cout<<"Step:"<<mat.step<<endl;
}